#!/bin/bash
ifneq ($(KERNELRELEASE),)
	obj-m += module_pass_param.o
	module_pass_param-y += module_param.o
else
	KERNEL_DIR := /home/bruce/xunwei/iTop4412_Kernel_3.0
	PWD ?= $(shell pwd)
default:
	make -C $(KERNEL_DIR) M=$(PWD) modules
endif
		
clean:
	@rm -rf *.o *.ko *.mod.c *.order *.symvers .tmp_versions

